package homework;

public class Dog {

        private String color;
        private String brand;

        public Dog() {
        }

        public Dog(String color, String brand) {
            this.color = color;
            this.brand = brand;
        }

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }
        public void eat(){
            System.out.println("吃屎");
        }
        public void lookHome(){
            System.out.println("看门");
        }
    }


